From: Bilal Elmoussaoui Date: Tue, 14 Apr 2026 17:27:29 +0000 (+0200) Subject: croco: Remove functions declarations only X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~57 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9088d77e9833b568c621fe48a90d4214bdc1453b;p=gnome-shell.git croco: Remove functions declarations only Part-of: --- diff --git a/src/st/croco/cr-simple-sel.h b/src/st/croco/cr-simple-sel.h index 691b4d943..c0a8091ca 100644 --- a/src/st/croco/cr-simple-sel.h +++ b/src/st/croco/cr-simple-sel.h @@ -55,12 +55,12 @@ typedef struct _CRSimpleSel CRSimpleSel ; /** *The abstraction of a css2 simple selection list - *as defined by the right part of the "selector" production in the + *as defined by the right part of the "selector" production in the *appendix D.1 of the css2 spec. *It is basically a list of simple selector, each *simple selector being separated by a combinator. * - *In the libcroco's implementation, each simple selector + *In the libcroco's implementation, each simple selector *is made of at most two parts: * *1/An element name or 'type selector' (which can hold a '*' and @@ -105,10 +105,10 @@ struct _CRSimpleSel CRSimpleSel * cr_simple_sel_new (void) ; -CRSimpleSel * cr_simple_sel_append_simple_sel (CRSimpleSel *a_this, +CRSimpleSel * cr_simple_sel_append_simple_sel (CRSimpleSel *a_this, CRSimpleSel *a_sel) ; -CRSimpleSel * cr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this, +CRSimpleSel * cr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this, CRSimpleSel *a_sel) ; guchar * cr_simple_sel_to_string (CRSimpleSel const *a_this) ; @@ -117,8 +117,6 @@ guchar * cr_simple_sel_one_to_string (CRSimpleSel const * a_this) ; enum CRStatus cr_simple_sel_dump (CRSimpleSel const *a_this, FILE *a_fp) ; -enum CRStatus cr_simple_sel_dump_attr_sel_list (CRSimpleSel const *a_this) ; - enum CRStatus cr_simple_sel_compute_specificity (CRSimpleSel *a_this) ; void cr_simple_sel_destroy (CRSimpleSel *a_this) ; diff --git a/src/st/croco/cr-statement.h b/src/st/croco/cr-statement.h index 58fe6a367..63b19a4c0 100644 --- a/src/st/croco/cr-statement.h +++ b/src/st/croco/cr-statement.h @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA - * + * * Author: Dodji Seketeli * See COPYRIGHTS file for copyright information. */ @@ -44,8 +44,8 @@ G_BEGIN_DECLS struct _CRStatement ; /* - *typedef struct _CRStatement CRStatement ; - *this is forward declared in + *typedef struct _CRStatement CRStatement ; + *this is forward declared in *cr-declaration.h already. */ @@ -66,7 +66,7 @@ struct _CRRuleSet /**A list of instances of #CRDeclaration*/ CRDeclaration *decl_list ; - + /** *The parent media rule, or NULL if *no parent media rule exists. @@ -105,7 +105,7 @@ struct _CRAtImportRule struct _CRAtMediaRule { GList *media_list ; - CRStatement *rulesets ; + CRStatement *rulesets ; } ; @@ -218,7 +218,7 @@ struct _CRStatement *applications that use libcroco. *libcroco itself will never modify *this pointer. - */ + */ gpointer app_data ; /** @@ -240,7 +240,7 @@ cr_statement_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding) ; CRStatement* cr_statement_new_ruleset (CRStyleSheet *a_sheet, - CRSelector *a_sel_list, + CRSelector *a_sel_list, CRDeclaration *a_decl_list, CRStatement *a_media_rule) ; CRStatement * @@ -290,11 +290,11 @@ cr_statement_at_page_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding) ; enum CRStatus -cr_statement_set_parent_sheet (CRStatement *a_this, +cr_statement_set_parent_sheet (CRStatement *a_this, CRStyleSheet *a_sheet) ; enum CRStatus -cr_statement_get_parent_sheet (CRStatement *a_this, +cr_statement_get_parent_sheet (CRStatement *a_this, CRStyleSheet **a_sheet) ; CRStatement * @@ -354,14 +354,6 @@ cr_statement_at_media_nr_rules (CRStatement const *a_this) ; CRStatement * cr_statement_at_media_get_from_list (CRStatement *a_this, int itemnr) ; -enum CRStatus -cr_statement_at_page_rule_set_sel (CRStatement *a_this, - CRSelector *a_sel) ; - -enum CRStatus -cr_statement_at_page_rule_get_sel (CRStatement const *a_this, - CRSelector **a_sel) ; - enum CRStatus cr_statement_at_page_rule_set_declarations (CRStatement *a_this, CRDeclaration *a_decl_list) ; @@ -421,7 +413,7 @@ cr_statement_dump_media_rule (CRStatement const * a_this, void cr_statement_dump_import_rule (CRStatement const * a_this, FILE * a_fp, - gulong a_indent) ; + gulong a_indent) ; void cr_statement_dump_charset (CRStatement const * a_this, FILE * a_fp, gulong a_indent) ;